package com.hskn.hss.module.tlcostoperate.to;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 *
 */
@ApiModel(value = "运营费导入接口-TO", description = "运营费导入接口-TO")
public class CostOperateExcelReaderTO implements Serializable {
    @ApiModelProperty(value = "文件", name = "files", example = "D:/", required = true)
    @NotNull(message = "文件不能为空")
    private MultipartFile files;
    @ApiModelProperty(value = "类型", name = "types", example = "1", required = true)
    @NotNull(message = "类型不能为空")
    @NotBlank(message = "类型不能为空")
    private String types;

    public MultipartFile getFiles() {
        return files;
    }

    public void setFiles(MultipartFile files) {
        this.files = files;
    }

    public String getTypes() {
        return types;
    }

    public void setTypes(String types) {
        this.types = types;
    }
}
